#ifndef ONLINE_H
#define ONLINE_H

#include <QWidget>
#include "protocol.h"

namespace Ui {
	class Online;
}

class Online : public QWidget
{
	Q_OBJECT

public:
	explicit Online(QWidget* parent = nullptr);
	~Online();

	void showUsr(PDU* pdu);

private slots:
	//pdu->caData存放name；pdu->caData+32存放perName
	void on_addFriend_pb_clicked();

private:
	Ui::Online* ui;
};

#endif // ONLINE_H
